#ifndef VEC2D_H
#define VEC2D_H

#include "Vector.h"

/**
 * The Vec2d class defines a 2 dimensional vector
 * class that implements the Vector interface
 */
class Vec2d : public Vector
	{
	public:
		float x;
		float y;
		
		Vec2d();
		Vec2d(float x, float y);
		Vec2d operator+(const Vec2d&) const;
		Vec2d operator-(const Vec2d&) const;
		float operator*(const Vec2d&) const;
		Vec2d operator*(const float&) const;
		Vec2d normalize();
		Vec2d normalizePrecise();
	};

#endif